#pragma once
#ifndef _TCP_CLIENT_SOCKET_HPP_
#define _TCP_CLIENT_SOCKET_HPP_

#include "BaseSocket.hpp"

class TcpClientSock : public BaseSock
{
public:
    TcpClientSock(const char* p_ip,int p_port);
    virtual ~TcpClientSock();
    void ConnectSock();
    void MessageLoop();
protected:
    virtual void Update() = 0;
protected:
    sockaddr_in m_clientSockAddr;
    bool m_clientStop;
};


#endif // _TCP_CLIENT_SOCKET_HPP_